/*-----------------------------------------------------------------------------------
	Stores a signle trip's data.

	By: Philip Schuchardt - 2008-10-26
--------------------------------------------------------------------------------------*/

#ifndef cwTRIP_H
#define cwTRIP_H

//Qt includes

//Our includes
#include <plObject>
#include <plLongLong>
#include <plDouble>
#include <plInt>
#include <plString>
#include <plPointer>

//class TestB;

class TestA : public plObject {
	
        pl_DECLARE_CLASS
		
public:
	//Constructor
	TestA();
	
	//Destructor
	virtual ~TestA();

	void SetSubTest(TestA* trip);

        const std::string& GetTestString();

        void SetTestString(const plString& str);

	//Gets the TestDouble
	double GetTestDouble();

	//Sets the TestDouble
	void SetTestDouble(double value);

	void SetTestInt(int value) { TestInt = value; }
	int GetTestInt() { return TestInt; }
	
	void SetTestLong(long long value) { TestLong = value; }
	long long GetTestLong() { return TestLong; }
	
	void SetTestPointer(TestA* value); 
	TestA* GetTestPointer(); 
	
protected:
        plLongLong TestLong;
        plDouble TestDouble;
        plInt TestInt;
        plString TestString;
        plPointer<TestA> TestPointer;
	
}; //end cwTrip

#endif // cwTRIP_H
